package com.yunhe.policyfulfillment.authority.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName CurrentUser
 * @Description TODO
 * @Author HeTao
 * @Date 2021/7/21 16:10
 * @Version 1.0
 **/
@Data
@ApiModel(value = "CurrentUser",description = "登录成功返回对象")
public class CurrentUser implements Serializable {

    private static final long serialVersionUID = 8514384236291780025L;

    @ApiModelProperty("企业名称")
    private String companyName;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户账号")
    private String userAccount;

    @ApiModelProperty(value = "头像")
    private String photo;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "组织id")
    private Integer orgId;

    @ApiModelProperty(value = "角色Name")
    private String roleTitle;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "角色编码")
    private String roleName;

    @ApiModelProperty(value = "token")
    private String token;
}
